<html>
<head><meta charset="utf-8"><title>GHA log display · t-infra · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/index.html">t-infra</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html">GHA log display</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="203924325"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924325" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924325">(Jul 15 2020 at 07:37)</a>:</h4>
<p>Is there any way to make GHA use more than half of my screen height to display the log? TBH I thought Azure was bad but GHA is clearly the worst CI result view I ever saw.^^</p>



<a name="203924393"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924393" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Silverstone <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924393">(Jul 15 2020 at 07:38)</a>:</h4>
<p>So far I've found GHA to be competent at executing CI, but the UX is really not good.  Hopefully they'll improve that over time.</p>



<a name="203924397"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924397" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924397">(Jul 15 2020 at 07:38)</a>:</h4>
<p>(It doesnt help that all the runner names are abbreviated with "..." but then there's 100px of whitespace that could totally be used to display those names...)</p>



<a name="203924420"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924420" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924420">(Jul 15 2020 at 07:38)</a>:</h4>
<p>yeah they fixed the scrolling issues which made the logs entirely unnavigatable, so there is hope for sure :)</p>



<a name="203924444"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924444" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924444">(Jul 15 2020 at 07:39)</a>:</h4>
<p>text selection  is still broken in the most hilarious ways though</p>



<a name="203924452"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924452" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924452">(Jul 15 2020 at 07:39)</a>:</h4>
<p>(the selection moves through the text as you scroll)</p>



<a name="203924455"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924455" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Silverstone <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924455">(Jul 15 2020 at 07:39)</a>:</h4>
<p>tbf I'd be happy if they published a usable API and we could just write a replacement UI to run on our infra somehow.</p>



<a name="203924470"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924470" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924470">(Jul 15 2020 at 07:39)</a>:</h4>
<p>this is actually a big problem for copy-pasting errors out of the log to eslewhere</p>



<a name="203924490"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924490" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924490">(Jul 15 2020 at 07:39)</a>:</h4>
<p>(together with the small window which makes it impossible to select more than 20 lines of text without scrolling)</p>



<a name="203924491"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924491" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Silverstone <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924491">(Jul 15 2020 at 07:39)</a>:</h4>
<p>I find it hilarious that the completion events rarely make it to the UI reliably, so sometimes I visit an in-progress job on <code>rustup</code> and ten or twelve of the steps are 'active'</p>



<a name="203924614"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924614" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Silverstone <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924614">(Jul 15 2020 at 07:41)</a>:</h4>
<p>Hmm, <a href="https://developer.github.com/v3/actions/">https://developer.github.com/v3/actions/</a> exists, perhaps writing something to fetch a log will help you for C&amp;P?</p>



<a name="203924631"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924631" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Silverstone <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924631">(Jul 15 2020 at 07:42)</a>:</h4>
<p>e.g. <a href="https://developer.github.com/v3/actions/workflow-runs/#download-workflow-run-logs">https://developer.github.com/v3/actions/workflow-runs/#download-workflow-run-logs</a></p>



<a name="203924655"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203924655" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203924655">(Jul 15 2020 at 07:42)</a>:</h4>
<p>something like the "pretty log viewer" that was in place for azure would be awesome, yes</p>



<a name="203925432"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203925432" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Silverstone <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203925432">(Jul 15 2020 at 07:52)</a>:</h4>
<p>I've tried the log fetch API on a rustup log, all the info is there, but someone would have to write a parser etc.  In theory you could do it all in-browser with some JS glue and WASM for parsing the zip etc.</p>



<a name="203927223"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203927223" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203927223">(Jul 15 2020 at 08:16)</a>:</h4>
<p>I usually just open the raw log and grep it</p>



<a name="203937958"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203937958" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203937958">(Jul 15 2020 at 10:31)</a>:</h4>
<p>GHA insists on putting their logs behind an authentication wall which makes programmatic access that much more painful.</p>



<a name="203938355"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203938355" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Silverstone <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203938355">(Jul 15 2020 at 10:36)</a>:</h4>
<p>You only need either a personal token with any repo: scope, or else an appropriate app token.  Generating them isn't hard, though yes it is a bit of a pain.</p>



<a name="203947125"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203947125" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203947125">(Jul 15 2020 at 12:15)</a>:</h4>
<p><span class="user-mention" data-user-id="223910">@Daniel Silverstone</span> I mean that we can't easily just have a JS file that does it for you since then we either leak a token (bad) or need to deal with oauth or something which is also a pain</p>



<a name="203947789"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203947789" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Pietro Albini <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203947789">(Jul 15 2020 at 12:22)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> well, we could setup a webhook that fetches the logs and pushes them to s3</p>



<a name="203947807"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203947807" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203947807">(Jul 15 2020 at 12:22)</a>:</h4>
<p>yeah we could</p>



<a name="203947819"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203947819" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203947819">(Jul 15 2020 at 12:23)</a>:</h4>
<p>I'm leaning towards that being a maybe good idea</p>



<a name="203958791"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/203958791" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Daniel Silverstone <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#203958791">(Jul 15 2020 at 14:01)</a>:</h4>
<p>I wonder if, using the browser, the user's login cookies etc might automagically work?</p>



<a name="204196471"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/204196471" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#204196471">(Jul 17 2020 at 11:47)</a>:</h4>
<p><span class="user-mention silent" data-user-id="121055">Pietro Albini</span> <a href="#narrow/stream/242791-t-infra/topic/GHA.20log.20display/near/203927223">said</a>:</p>
<blockquote>
<p>I usually just open the raw log and grep it</p>
</blockquote>
<p>so far I didnt see a raw log option for GHA; I'll have to look more closely</p>



<a name="204200370"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/204200370" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#204200370">(Jul 17 2020 at 12:36)</a>:</h4>
<p>For whatever reason I can't get at it on mobile I think, but IIRC it's always been there on desktop (you have to click on the dots in top rightl</p>



<a name="204787813"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/242791-t-infra/topic/GHA%20log%20display/near/204787813" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/242791-t-infra/topic/GHA.20log.20display.html#204787813">(Jul 23 2020 at 12:08)</a>:</h4>
<p>yeah I found it, and it is very helpful indeed -- thanks</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>